<!--#include virtual="/dzps/p1.asp"-->
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <%
    'sessionExpire
	easp.include "h.asp"
    %>
    <link rel="stylesheet" href="/dzps/src/layuiadmin/style/gz_post.css">
</head>
<body>
    <div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login">
        <div class="layadmin-user-login-main">
            <div class="layadmin-user-login-box layadmin-user-login-header">
                <h2>湖南省中医药研究院附属医院</h2>
                <p></p>
            </div>
            <div class="layadmin-user-login-box layadmin-user-login-body layui-form">
                <%
                    blockquote("申请开通负库存。")
                    'input_h "pat_file,repairerId,declareTele"
                    dim arr,id1
                    id1= val("dept_code")
                    arr=sql2arr("select name2,name1 from baseinfo where mode='科室'")
                    echo myopt3_1("dept_code","科室",arr,id1)
                    echo js1("btn1.html","gz_submit","提  交")
 
                    'echo js2("ta1.html","bz","申请理由","","")
                    'input2 "a","a"
                    echo js1("co1.html","cd1","历史数据")
                %>
            </div>
        </div>
    </div>
    <div class="layui-trans layadmin-user-login-footer">
        <p>© 2021 <a href="http://" target="_blank">湖南省中医药研究院附属医院</a></p>
    </div>
    <script src="/dzps/src/layuiadmin/layui/layui.js"></script>
    <script>
        layui.config({
            base: '/dzps/src/layuiadmin/' 
        }).extend({
            index: 'lib/index' //主入口模块
        }).use(['index', 'user','upload'], function()
        {
            var $ = layui.$,
                form = layui.form,
                admin = layui.admin,
                upload = layui.upload;
            $.ajax({
                    url:'pj2.asp?action=div_log0&declareTele=<%=val("declareTele")%>',
                    success:function(res){
                        $('div.layui-collapse').html(res);
                    },
                    error:function(error){
                        alert('数据加载失败');
                    }
                });            
            form.on('submit(gz_submit)', function(obj) {
                var field = obj.field;
                admin.req({
                    url: 'pj2.asp?action=gz_post_add&now=' + new Date().getTime() + '&typ=<%=val("typ")%>&status=898',
                    data: field,
                    done: function(res) {
                        layer.msg(res.msg, {
                            offset: '15px',
                            icon: 1,
                            time: 1000
                        }, function() {
                            location.reload();
                        });
                    }
                });
                return false;
            });
        });
    </script>
</body>
</html>